import React, { Component } from 'react'
import Child21 from './Child21'

export default class Child2 extends Component {
    render() {
        console.log('------Child2的render-----------');
        return (
          <div style={{
            width:'250px',
            height:'200px',
            backgroundColor:'yellow'
          }}>Child2
            <Child21></Child21>
          </div>
        )
      }
}
